#include "comm_data_pack.h"

int32_t packData2Ap(uint8_t *pu8Data, uint8_t u8DataSize, uint8_t u8Index, uint8_t u8Cmd, uint8_t u8SrcId, uint8_t u8DstId)
{
    // if((cpuInterface.cpuState.commState==0) && (COMM_TIMESTAMP_HEART != u8Index))
    // {
    //     return -1;
    // }

    // if(g_u8commTestSwitch == 1 && u8Cmd != COMM_CMD_ACK_WR)
    // {
    //     return -1;
    // }

    // return commTxRingPushNinebotData(ACU_COMM_TYPE, pu8Data, u8DataSize, u8Index, u8Cmd, u8SrcId, u8DstId, 0);
    return 0;
}